package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Table;

/**
 * <p>
 * 博客爬取表
 * </p>
 *
 * @author wangchang
 * @since 2020-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "t_blog_spider")
@ApiModel(value="BlogSpider对象", description="博客爬取表")
public class BlogSpider implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "唯一uid")
    private String uid;

    @ApiModelProperty(value = "博客标题")
    private String title;

    @ApiModelProperty(value = "博客简介")
    private String summary;

    @ApiModelProperty(value = "博客内容")
    private String content;

    @ApiModelProperty(value = "标签uid")
    private String tagUid;

    @ApiModelProperty(value = "博客点击数")
    private Integer clickCount;

    @ApiModelProperty(value = "博客收藏数")
    private Integer collectCount;

    @ApiModelProperty(value = "标题图片uid")
    private String fileUid;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "管理员uid")
    private String adminUid;

    @ApiModelProperty(value = "是否原创（0:不是 1：是）")
    private String isOriginal;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "文章出处")
    private String articlesPart;

    @ApiModelProperty(value = "博客分类UID")
    private String blogSortUid;

    @ApiModelProperty(value = "推荐等级(0:正常)")
    private Boolean level;

    @ApiModelProperty(value = "是否发布：0：否，1：是")
    private String isPublish;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;


}
